package com.jiezuo.auth.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiezuo.auth.entity.PermissionApiField;

import java.util.List;

/**
* @description   数据权限API拦截字段
* @author        庞留杰
* @date          2022/02/16 09:33
* @version       V1.0
**/
public interface PermissionApiFieldService extends IService<PermissionApiField>  {

    IPage<PermissionApiField> findPage(Page initMpPage,PermissionApiField permissionApiField);

    List<PermissionApiField> findList(PermissionApiField permissionApiField);

    PermissionApiField findById(String id);

    boolean add(PermissionApiField permissionApiField);

    boolean update(PermissionApiField permissionApiField);

    boolean delete(String id);

}
